package com.bangyo.website.searcher.impl;

import org.sothis.core.searcher.impl.SingletonSearcher;

import com.bangyo.website.Website;
import com.bangyo.website.searcher.WebsiteSearcherByDomain;

public class WebsiteSearcherByDomainImpl extends SingletonSearcher<Website>
    implements WebsiteSearcherByDomain
{
    public void setDomain(String domain)
    {
        super.setParameter("domain", domain);
    }

    public Website getSingleEntity()
    {
        return unique();
    }
}
